home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2299 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.2 KB

  1. Path: ccnet.com!not-for-mail
  2. From: felinoid@ccnet.com (Jeffery C McLean)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: C or C++ for a 14-year old?
  5. Date: 19 Jan 1996 20:06:18 -0800
  6. Organization: CCnet Communications (510-988-7140 guest)
  7. Message-ID: <4dppnq$bjh@ccnet3.ccnet.com>
  8. References: <4ddsg4$p4e@sundog.tiac.net> <4b30ld$lp2$1@mhafc.production.compuserve.com> <4d4jeh$fv1@wombat.melbpc.org.au> <w+PJjMD <4dor9c$ko6@detroit.freenet.org>
  9. NNTP-Posting-Host: ccnet3
  10.  
  11. David R. Conrad (ab411@detroit.freenet.org) wrote:
  12.  
  13. : In a previous article, amoreira@nine.com (Alberto C Moreira) says:
  14. : > [ someone said not to learn C under DOS ]
  15. : >Still, there's no worse restriction on a programmer than not to be
  16. : >able to talk directly to the hardware. 
  17.  
  18. : I don't know about that.
  19.  
  20. : >The best operating system isn't the one that does more, but the one
  21. : >
  22. : >With Unix, I probably need to recompile the kernel - that is, if I'm a
  23. : >hacker and I have the Unix source code.
  24.  
  25. : Well, since it sounds like you already are a hacker, and since any
  26. : decent unix system -- like linux or freebsd -- comes with kernel source,
  27. : I guess this isn't a problem, eh?
  28.  
  29. However with Unix it is alwase posable to write non-portable code
  30. by making some Asmbly laguage routines.
  31.     Writing in asmbly is discuraged on Unix becouse that will
  32. mean that the resulting program will work only on that computer.
  33.     How ever I will from time to time add a small somthing to
  34. my code so that IF someone trys to use it on there computer with
  35. out my permit (ie steal sorce I am NOT finished with and port it)
  36. It (unless they catch what I did) won't run or may not even compile.
  37.     A small part of non-portable code or making use of somthing
  38. extreamly obscure. I'll even read modem rom versons JUST to make it
  39. unuseable by anyone else.
  40. So far no one has chalanged that.... I'm glad.... Becouse
  41. a BBS I wrote was stolen... and the code was VERY portable...
  42. (But the sorce was being converted to Apple by a friend and THAT
  43. was where it was stolen... with his computer... and not from me
  44. directly. So it wouldn't have made a hole lot of diffrence... I'd
  45. have replaced the non-portable code with porable code if I was doing
  46. that sort of thing at the time)
  47.  
  48. --
  49. felinoid@ccnet.com
  50. http://www.ccnet.com/~felinoid/
  51.